package com.education.wisdom.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.sql.Timestamp;

/**
 * 行业资讯列表 jr_industrynews
 * 
 * @author ruoyi
 * @date 2018-10-24
 */
public class Industrynews
{
	private static final long serialVersionUID = 1L;
	
	/** 行业资讯编号 */
	private String newsCode;
	/** 行业资讯标题 */
	private String newsTitle;
	/** 行业资讯正文 */
	private String newsContest;
	/** 附件名称 */
	private String newsEnclosure;
	/** 新闻配图片名称 */
	private String newsPicture;
	/** 创建时间 */
	@JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	private Timestamp newsCreatedate;
	/** 创建者 */
	private String newsCreateby;
	/** 修改时间 */
	private Timestamp newsModifydate;
	/** 修改者 */
	private String newsModifyby;
	/** 资讯状态(0正常，1下架) */
	private Integer newsState;
	/** 备注 */
	private String newsRemark;

	public void setNewsCode(String newsCode) 
	{
		this.newsCode = newsCode;
	}

	public String getNewsCode() 
	{
		return newsCode;
	}
	public void setNewsTitle(String newsTitle) 
	{
		this.newsTitle = newsTitle;
	}

	public String getNewsTitle() 
	{
		return newsTitle;
	}
	public void setNewsContest(String newsContest) 
	{
		this.newsContest = newsContest;
	}

	public String getNewsContest() 
	{
		return newsContest;
	}
	public void setNewsEnclosure(String newsEnclosure) 
	{
		this.newsEnclosure = newsEnclosure;
	}

	public String getNewsEnclosure() 
	{
		return newsEnclosure;
	}
	public void setNewsPicture(String newsPicture) 
	{
		this.newsPicture = newsPicture;
	}

	public String getNewsPicture() 
	{
		return newsPicture;
	}
	public void setNewsCreatedate(Timestamp newsCreatedate)
	{
		this.newsCreatedate = newsCreatedate;
	}

	public Timestamp getNewsCreatedate()
	{
		return newsCreatedate;
	}
	public void setNewsCreateby(String newsCreateby) 
	{
		this.newsCreateby = newsCreateby;
	}

	public String getNewsCreateby() 
	{
		return newsCreateby;
	}
	public void setNewsModifydate(Timestamp newsModifydate)
	{
		this.newsModifydate = newsModifydate;
	}

	public Timestamp getNewsModifydate()
	{
		return newsModifydate;
	}
	public void setNewsModifyby(String newsModifyby) 
	{
		this.newsModifyby = newsModifyby;
	}

	public String getNewsModifyby() 
	{
		return newsModifyby;
	}
	public void setNewsState(Integer newsState) 
	{
		this.newsState = newsState;
	}

	public Integer getNewsState() 
	{
		return newsState;
	}
	public void setNewsRemark(String newsRemark) 
	{
		this.newsRemark = newsRemark;
	}

	public String getNewsRemark() 
	{
		return newsRemark;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("newsCode", getNewsCode())
            .append("newsTitle", getNewsTitle())
            .append("newsContest", getNewsContest())
            .append("newsEnclosure", getNewsEnclosure())
            .append("newsPicture", getNewsPicture())
            .append("newsCreatedate", getNewsCreatedate())
            .append("newsCreateby", getNewsCreateby())
            .append("newsModifydate", getNewsModifydate())
            .append("newsModifyby", getNewsModifyby())
            .append("newsState", getNewsState())
            .append("newsRemark", getNewsRemark())
            .toString();
    }
}
